package cn.luckdou.commons.pay.wechat.util;

/**  
 * Copyright © 2016 绿闪电科技
 * @date: 2016年11月2日 下午9:08:46
 * @author: XianGuo  
 */
public class Orderquery {
	private String appid;//微信分配的公众账号ID（企业号corpid即为此appId）,例如：wxd678efh567hg6787
	private String mch_id;//商户id
	private String nonce_str;//随机字符串:数字+大写字母的组合，32位
	private String sign;//签名
	private String transaction_id ;//微信的订单号，优先使用 
	private String out_trade_no;//商户系统内部的订单号
	public Orderquery() {
		super();
		
	}
	public Orderquery(String appid, String mch_id, String nonce_str, String sign, String transaction_id,
			String out_trade_no) {
		super();
		this.appid = appid;
		this.mch_id = mch_id;
		this.nonce_str = nonce_str;
		this.sign = sign;
		this.transaction_id = transaction_id;
		this.out_trade_no = out_trade_no;
	}
	
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMch_id() {
		return mch_id;
	}
	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}
	public String getNonce_str() {
		return nonce_str;
	}
	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getTransaction_id() {
		return transaction_id;
	}
	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	@Override
	public String toString() {
		return "Orderquery [appid=" + appid + ", mch_id=" + mch_id + ", nonce_str=" + nonce_str + ", sign=" + sign
				+ ", transaction_id=" + transaction_id + ", out_trade_no=" + out_trade_no + "]";
	}
	
}
